/// 创建人： Created by zhaolong
/// 创建时间：Created by  on 2020/7/23.
///
/// 创建人： Created by zhaolong
/// 创建时间：Created by  on 2020/9/25.
///
/// gongzhonghao biglead
/// https://study.163.com/instructor/1021406098.htm
/// https://blog.csdn.net/zl18603543572
/// https://www.toutiao.com/c/user/token/MS4wLjABAAAAYMrKikomuQJ4d-cPaeBqtAK2cQY697Pv9xIyyDhtwIM/

///lib/app/bean/bean_catalog.dart
class IntegralStatBean {
  String userRealName;
  String userDepartment;
  num examineScore;
  num userCount;
  num examineCount;
  num id;
  num examineCountValid;
  num totalCount;
  num rankNumber;
  num extractingId;
  num newsId;

  num obtainScore;
  num answerTime;
  num readTimes;
  String createTime;
  String integralRemark;
  int stelleOn;

  String showRemark;
  String remark = '';
  String systemRemark = '';
  num configForm;
  String createTimeStr;
  num videoIntegral;

  IntegralStatBean.fromJson(Map<String, dynamic> map) {
    this.showRemark = map['showRemark'] ?? "--";
    this.remark = map['remark'] ?? "";
    this.systemRemark = map['systemRemark'] ?? "";
    this.createTimeStr = map["createTimeStr"] ?? "";
    this.videoIntegral = map["videoIntegral"] ?? 0;

    this.userRealName = map['reamName'] ?? "--";
    this.userDepartment = map['department'] ?? "--";
    this.integralRemark = map['integralRemark'] ?? "--";
    this.createTime = map['createTime'] ?? "--";
    this.examineScore = map['examineScore'] ?? 0;
    this.stelleOn = map['stelleOn'] ?? 0;

    this.examineCount = map['examineCount'] ?? 0;
    this.userCount = map['userCount'] ?? 0;

    this.id = map['id'] ?? 0;
    this.readTimes = map['readTimes'] ?? 0;
    this.configForm = map['configForm'] ?? 0;

    this.rankNumber = map['rankNumber'] ?? 0;
    this.examineCountValid = map['examineCountValid'] ?? 0;
    this.extractingId = map['extractingId'] ?? 0;
    this.newsId = map['newsId'] ?? 0;
    this.obtainScore = map['obtainScore'] ?? 0;
    this.answerTime = map['answerTime'] ?? 0;

    this.totalCount = map["totalCount"] ?? 0;
  }
}

class IntegralTabBean {
  String name;
  num id;
  String userDepartment;

  IntegralTabBean.fromJson(map) {
    this.id = map["id"] ?? 0;
    this.name = map['name'] ?? "--";
    this.userDepartment = map['userDepartment'] ?? "--";
  }
}
